package zouran.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import zouran.entity.User;

import java.util.List;
/**
 * @Author: zouran
 * @Description:
 * @Date: Created in 2022 2022/12/3 16:27
 **/
public interface AdminService {
    int judge_admin(String Phone,String Password);//判断登录
    List<User> getAllUser();        //管理员查看所有用户信息
    boolean insert_user(User user); //增加用户
    boolean delete_user(User user); //删除用户
    boolean update_user(User user); //更改用户信息,要求传入实体类并通过主键查找
    List<User> select_user(String Phone); //根据主键电话号码查询
}
